<template>
        <!--输入框-->
        <div style="margin-left: 0%;margin-top: 2%;">
            <div><img class="svg" src="../../assets/register/cg.svg" alt="继续登录"></div>
            <div style="margin-top: 20px;"> <el-button @click="next" class="button-1">继续登录</el-button></div>
        </div>
</template>

<script >

export default {
  name: 'Register_next',
  data(){
    return{

    }
  },
  methods:{
     next(){
      var path = this.$route.query.redirect
      this.$router.replace({path: path === '/login' || path === undefined ? '/login' : path})
  }
  }

}

</script> 



<style scoped>

.button-1 {
    width: 300px;
    height: 50px;
    padding: 2px 2px 2px 2px;
    border-radius: 5px;
    background-color: #1891ff;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    text-align: center;
    line-height: normal;
  }
.button-1:hover {
    opacity: 0.8;
    box-sizing: border-box;
  }

.svg {
  width: 282px;
  height: 240px;
  box-sizing: border-box;
}
</style>
